import Vue from 'vue'
import { 
    Button,
    Form,
    FormItem,
    Input,
    Card,
    Dialog,
    Icon,
    Message,
    MessageBox,
    Loading,
} from 'element-ui'

Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Card)
Vue.use(Dialog)
Vue.use(Icon)
Vue.use(Loading.directive);
Vue.prototype.$loading = Loading.service;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$message = Message;
